<?php

/**
 * sfGuardUser form.
 *
 * @package    sistema_estadisticas
 * @subpackage form
 * @author     Your name here
 * @version    SVN: $Id: sfDoctrinePluginFormTemplate.php 23810 2009-11-12 11:07:44Z Kris.Wallsmith $
 */
class sfGuardUserForm extends PluginsfGuardUserForm
{

	public function configure()
	{
		unset(
			$this['last_login'],
			$this['created_at'],
			$this['updated_at'],
			$this['salt'],
			$this['algorithm'],
			$this['is_super_admin'],
			$this['groups_list'],
			$this['permissions_list']
		);

		$this->widgetSchema['identification']->setOption('label', 'Identificación');
		$this->widgetSchema['first_name']->setOption('label', 'Nombres');
		$this->widgetSchema['last_name']->setOption('label', 'Apellidos');
		$this->widgetSchema['username']->setOption('label', 'Login');
		$this->widgetSchema['email_address']->setOption('label', 'Email');
		$this->widgetSchema['is_active']->setOption('label', 'Activo');
		$this->widgetSchema['password']->setAttribute('value', '');
	}

}
